package com.community.process._1010.common.api;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@Schema(name = "InPage", description = "分页参数")
@NoArgsConstructor
@AllArgsConstructor
public class InPage implements Serializable {
    private static final long serialVersionUID = -5292494541350984522L;

    @Schema(description = "页", defaultValue = "1")
    private Integer page = 1;
    @Schema(description = "页大小", defaultValue = "10")
    private Integer pageSize = 10;
}